package org.beetl.sql.ext.jpa.mapper.internal.page;

import java.lang.reflect.Method;

import org.beetl.sql.core.OrderByBuilder;
import org.beetl.sql.core.SQLManager;
import org.beetl.sql.mapper.MapperInvoke;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

//TODO 不知道咋搞
public class FindAllAMI extends MapperInvoke{

	@Override
	public Object call(SQLManager sm, Class entityClass, Method m, Object[] args) {
		if(args[0] instanceof Sort) {
			OrderByBuilder obb = new OrderByBuilder(sm);
			
		}else if(args[0] instanceof Pageable) {
			
		}
		return null;
	}


}
